package com.bsj.travel.constant;

/**
 * @author yinhao
 * @version 1.0
 * @description MQTT主题类型
 * @date 2023/11/13
 */
public class MqttTopicPowerConstants {

    /**
     * MQTT rocketMq 客户端实例名称 - 消息下行(服务端 -> 设备)
     */
    public static final String MQTT_ACTION_INSTANCE_NAME = "MQTT-MSG-DEVICE";
    /**
     * MQTT rocketMq 客户端实例名称 - 消息上行(设备 -> 服务端)
     */
    public static final String MQTT_PROCESS_ACTION_INSTANCE_NAME = "MQTT-MSG-DEVICE";
    /**
     * 设备-产品信息修改相关 rocketMq 客户端实例名称
     */
    public static final String BASE_ACTION_INSTANCE_NAME = "BASE-PRODUCT-DEVICE";
    /**
     * 产品订阅相关 rocketMq 客户端实例名称
     */
    public static final String PRODUCT_SUBSCRIBE_INSTANCE_NAME = "PRODUCT-SUBSCRIBE";

    /**
     * 所有物联网平台设备消息上行，平台消息下行的消息存储rocketMq客户端实例名称
     */
    public static final String MSG_LOG_RECORD_INSTANCE_NAME = "MSG-LOG-RECORD";

    /**
     * 基础通信Topic
     */
    public static final String BASE_TOPIC_PRODUCT = "topic:product:base";
    /**
     * 物模型通信Topic
     */
    public static final String BLUEPRINT_TOPIC_PRODUCT = "topic:product:blueprint";
    /**
     * 自定义Topic
     */
    public static final String CUSTOMIZE_TOPIC_PRODUCT = "topic:product:customize";

}
